namespace Digitalmes.Domain.Mes;

/// <summary>
/// 设备点检详细记录表
/// </summary>
[SugarTable("equip_check_doc_line", "设备点检详细记录表")]
public class EquipCheckDocLine : EntityBase
{
    /// <summary>
    /// 点检单Id
    /// </summary>
    public long DocId { get; set; }

    /// <summary>
    /// 点检项编号
    /// </summary>
    [NotNull]
    public string? SubjectCode { get; set; }

    /// <summary>
    /// 点检项名称
    /// </summary>
    [NotNull]
    public string? SubjectName { get; set; }

    /// <summary>
    /// 点检项内容
    /// </summary>
    [Required, NotNull]
    [StringLength(512)]
    public string? Content { get; set; }

    /// <summary>
    /// 点检项标准
    /// </summary>
    public string? Standard { get; set; }

    /// <summary>
    /// 点检结果(OK/NG)
    /// </summary>
    [Required, NotNull]
    [StringLength(16)]
    public string? Result { get; set; }

    /// <summary>
    /// 检查情况描述
    /// </summary>
    public string? Remark { get; set; }
}
